import request from '@/utils/request'

// 查询患者信息详细
export function getPatient(patientId) {
  return request({
    url: '/trms/query/patient/' + patientId,
    method: 'get'
  })
}

// 查询乳腺癌临床特征
export function getRxalctz(patientId) {
  return request({
    url: '/trms/query/rxalctz/' + patientId,
    method: 'get'
  })
}

// 查询首次辅助检查
export function getScfzjc(patientId) {
  return request({
    url: '/trms/query/scfzjc/' + patientId,
    method: 'get'
  })
}

// 查询随访信息列表
export function getSfxx(patientId) {
  return request({
    url: '/trms/query/sfxx/' + patientId,
    method: 'get'
  })
}

// 查询随访信息详情
export function getSfxxInfo(id) {
  return request({
    url: '/trms/query/sfxx/info/' + id,
    method: 'get'
  })
}

// 查询术后治疗情况
export function getShzlqk(patientId) {
  return request({
    url: '/trms/query/shzlqk/' + patientId,
    method: 'get'
  })
}

// 查询术后病理
export function getSsbl(patientId) {
  return request({
    url: '/trms/query/ssbl/' + patientId,
    method: 'get'
  })
}

// 查询手术
export function getSs(patientId) {
  return request({
    url: '/trms/query/ss/' + patientId,
    method: 'get'
  })
}

// 查询治疗前病理信息
export function getZlqblxx(patientId) {
  return request({
    url: '/trms/query/zlqblxx/' + patientId,
    method: 'get'
  })
}

// 查询评估列表
export function getPg(patientId,pglx) {
  return request({
    url: '/trms/query/pg',
	params: {patientId: patientId,pglx: pglx},
    method: 'get'
  })
}

// 查询评估列表
export function getPgInfo(id) {
  return request({
    url: '/trms/query/pg/info/'+id,
    method: 'get'
  })
}
// 查询要件列表
export function getYwyj(id) {
  return request({
    url: '/trms/query/ywyj/'+id,
    method: 'get'
  })
}

export function getPatientNoToken(patientId){
	return request({
	  url: '/trms/query/all/' + patientId,
	  method: 'get'
	})
}

export function download(fileName){
	return request({
	  url: '/common/download?fileName=' + fileName,
	  method: 'get'
	})
}
